Skip to main content

beepDuration

Type​

property

Summary​

Sets the length of the sound played by the beep command.

Syntax​

set the beepDuration to <milliseconds>

Description​

Use the beepDuration property to vary the length of the beep, in order to increase or decrease its urgency.

Set the beepDuration to -1 to use the default system setting.

The beepDuration has no effect on Windows systems, and on some Unix systems which don't allow changing the beep length.

Examples​

set the beepDuration to 2000 -- two seconds
set the beepDuration to myBeep * 1000

Value​

NameTypeDescription

value

The beepDuration is an integer between -1 and 65535. By default, the beepDuration is 500 (half a second).

keyword: default, integer

command: beep

glossary: property, Windows, Unix, command

Compatibility and Support​

Introduced

LiveCode 1.0

OS

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?